.class public Les/v70;
.super Les/q70;
.source "TypedComparator.java"


# direct methods
.method public constructor <init>(Z)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Les/q70;-><init>(Z)V

    return-void
.end method


# virtual methods
.method public a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/g;)I
    .locals 10

    .line 1
    invoke-virtual {p0, p1}, Les/q70;->a(Lcom/estrongs/fs/g;)Ljava/lang/String;

    move-result-object v0

    .line 2
    invoke-virtual {p0, p2}, Les/q70;->a(Lcom/estrongs/fs/g;)Ljava/lang/String;

    move-result-object v1

    .line 3
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v2

    .line 4
    invoke-interface {p2}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v3

    const-string v4, ""

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    move-object v0, v4

    :goto_0
    if-eqz v1, :cond_1

    goto :goto_1

    :cond_1
    move-object v1, v4

    .line 5
    :goto_1
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v4

    .line 6
    invoke-static {v3}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result v5

    const/4 v6, -0x1

    if-eqz v4, :cond_7

    if-eqz v5, :cond_7

    .line 7
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->U(Ljava/lang/String;)I

    move-result v4

    .line 8
    invoke-static {v3}, Lcom/estrongs/android/util/h0;->U(Ljava/lang/String;)I

    move-result v5

    .line 9
    invoke-static {v2, v4}, Lcom/estrongs/android/util/h0;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v7

    .line 10
    invoke-static {v3, v5}, Lcom/estrongs/android/util/h0;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v8

    if-eqz v7, :cond_7

    if-eqz v8, :cond_7

    const-string v9, "/"

    .line 11
    invoke-virtual {v7, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_7

    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_7

    if-ne v4, v5, :cond_4

    const/4 p1, 0x4

    if-ne v4, p1, :cond_2

    .line 12
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->K(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 13
    invoke-static {v3}, Lcom/estrongs/android/util/h0;->K(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 14
    invoke-virtual {p0, p2, v0}, Les/q70;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p2

    goto :goto_2

    :cond_2
    const/4 p2, -0x1

    :goto_2
    if-ne v4, p1, :cond_3

    if-nez p2, :cond_5

    .line 15
    :cond_3
    invoke-static {v2}, Lcom/estrongs/android/util/h0;->h0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 16
    invoke-static {v3}, Lcom/estrongs/android/util/h0;->h0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    .line 17
    invoke-virtual {p0, p1, p2}, Les/q70;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p2

    goto :goto_3

    :cond_4
    sub-int/2addr v4, v5

    .line 18
    iget p1, p0, Les/q70;->b:I

    mul-int p2, v4, p1

    :cond_5
    :goto_3
    if-nez p2, :cond_6

    goto :goto_4

    :cond_6
    move v6, p2

    :goto_4
    return v6

    .line 19
    :cond_7
    invoke-virtual {p0, p1}, Les/q70;->b(Lcom/estrongs/fs/g;)Z

    move-result v2

    .line 20
    invoke-virtual {p0, p2}, Les/q70;->b(Lcom/estrongs/fs/g;)Z

    move-result v3

    const/4 v4, 0x1

    if-eqz v2, :cond_a

    if-eqz v3, :cond_a

    .line 21
    invoke-virtual {p0, p1}, Les/q70;->c(Lcom/estrongs/fs/g;)Z

    move-result p1

    .line 22
    invoke-virtual {p0, p2}, Les/q70;->c(Lcom/estrongs/fs/g;)Z

    move-result p2

    if-nez p1, :cond_8

    if-eqz p2, :cond_8

    return v4

    :cond_8
    if-eqz p1, :cond_9

    if-nez p2, :cond_9

    return v6

    .line 23
    :cond_9
    invoke-virtual {p0, v0, v1}, Les/q70;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p1

    return p1

    :cond_a
    if-nez v2, :cond_11

    if-nez v3, :cond_11

    const/16 p1, 0x2e

    .line 24
    invoke-virtual {v0, p1}, Ljava/lang/String;->lastIndexOf(I)I

    move-result p2

    const/4 v2, 0x0

    if-eq p2, v6, :cond_b

    .line 25
    invoke-virtual {v0, p2}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p2

    goto :goto_5

    :cond_b
    move-object p2, v2

    .line 26
    :goto_5
    invoke-virtual {v1, p1}, Ljava/lang/String;->lastIndexOf(I)I

    move-result p1

    if-eq p1, v6, :cond_c

    .line 27
    invoke-virtual {v1, p1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v2

    :cond_c
    if-eqz p2, :cond_e

    if-eqz v2, :cond_e

    .line 28
    invoke-virtual {p2, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_d

    .line 29
    invoke-virtual {p0, v0, v1}, Les/q70;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p1

    return p1

    .line 30
    :cond_d
    invoke-virtual {p0, p2, v2}, Les/q70;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p1

    return p1

    :cond_e
    if-eqz p2, :cond_f

    if-nez v2, :cond_f

    .line 31
    iget p1, p0, Les/q70;->b:I

    mul-int/lit8 p1, p1, 0x1

    return p1

    :cond_f
    if-nez p2, :cond_10

    if-eqz v2, :cond_10

    .line 32
    iget p1, p0, Les/q70;->b:I

    mul-int/lit8 p1, p1, -0x1

    return p1

    .line 33
    :cond_10
    invoke-virtual {p0, v0, v1}, Les/q70;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result p1

    return p1

    :cond_11
    if-nez v2, :cond_12

    if-eqz v3, :cond_12

    return v4

    :cond_12
    return v6
.end method

.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 0

    .line 1
    check-cast p1, Lcom/estrongs/fs/g;

    check-cast p2, Lcom/estrongs/fs/g;

    invoke-virtual {p0, p1, p2}, Les/v70;->a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/g;)I

    move-result p1

    return p1
.end method
